Conditional highlighting

This feature of the "Text" object allows to color an object according to a specified condition. Any expression can be a condition. Let us exemplify coloring by the example with groups. Let the order totals, which are larger than 5000, be green-colored. To perform this, select an object with the "Group."ItemsTotal"" field and click on the "Conditional highlighting"  button in the designer toolbar. In the opened conditional highlight editor, let us enter a condition, after performing which the object will be highlighted, and specify the color attributes (font parameters and background color).

The result will be as follows:

Pay attention to the condition we specified (Value > 5000). Value is the DB field value, to which the object is linked. In similar way, the "<Group."ItemsTotal"> > 5000" condition may be set. In general, any expression, which is correct in terms of FastReport, may be specified here.